package com.example.broadcastreceiver.Istatic;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class MyStaticReceiver extends BroadcastReceiver {
    private static final String TAG = "MyStaticReceiver";
    @Override
    public void onReceive(Context context, Intent intent) {
        // TODO: This method is called when the BroadcastReceiver is receiving
        // an Intent broadcast.
//        throw new UnsupportedOperationException("Not yet implemented");
        Log.d(TAG, "onReceive: 这是一个自定义广播");
    }
}